#include "stdafx.h"
#include "Logger.h"

Logger::Logger()
:m_Active(true)
{
}

Logger::~Logger()
{
}

//////////////////////////////////////////////////////////////////////////

OSLogger::OSLogger()
{
	m_InputUpdated = false;
}

void OSLogger::Write( const char* format, va_list arg )
{
	char buf[MAX_LOGBUFFER_SIZE] = {0, };
	int size = vsnprintf(buf, sizeof(buf), format, arg);
	
	//if (g_Log->IsFilter(buf, size)) // TODO : g_Log is macro.
		OutputDebugStringA(buf);
}



